<?php


declare(strict_types=1);

namespace App\Http\Dto\Api\Test;

use Hesb\LaravelPlus\Annotation\ApiModel;
use Hesb\LaravelPlus\Annotation\ApiModelProperty;
use Hesb\LaravelPlus\Annotation\Rule\File;
use Hesb\LaravelPlus\Annotation\Rule\Image;
use Hesb\LaravelPlus\Annotation\Rule\Required;
use Illuminate\Http\UploadedFile;
use Psr\Http\Message\UploadedFileInterface;

#[ApiModel('form管理')]
class TestFormDto
{
    #[ApiModelProperty('上传文件')]
    #[File]
    public UploadedFile $file;

}
